package org.flow.basic.algorithm.sort;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Comparator;
import java.util.List;

/**
 * @author xl-9527
 * @since 2025/6/30
 */
public class JDKCollectionsSort {

    private final Logger log = LoggerFactory.getLogger(JDKCollectionsSort.class);

    public void jdkCollectionsSort(List<Integer> list) {
        list.sort(Comparator.comparingInt(Integer::intValue));
        log.info("JdkCollectionsSort 运行开始 -> {}", list);
    }
}
